package com.hailian.fintech.hlcomm_interfaceserver.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class BaoliDto extends Page {

    private Integer id;
    /**
     * 合同号
     */
    private String number;
    /**
     * 租客表id
     */
    private Integer consumerId;
    private Integer houseId;//公寓id
    private String consumerName;//租客名
    private BigDecimal totalprice;//合同总价格   =租金*+押金
    private BigDecimal price;//租金
    private BigDecimal cashPledge;//押金
    private Integer detain;//押几
    private Integer pay;//付几
    private Date endTime;//租房开始日期
    private Date created;//租房开始日期
    private Date jiaozu;//租房开始日期
    private Integer gatherBefore;
    private Integer gatherFix;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setConsumerId(Integer consumerId) {
        this.consumerId = consumerId;
    }

    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    public void setConsumerName(String consumerName) {
        this.consumerName = consumerName;
    }

    public void setTotalprice(BigDecimal totalprice) {
        this.totalprice = totalprice;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setCashPledge(BigDecimal cashPledge) {
        this.cashPledge = cashPledge;
    }

    public void setDetain(Integer detain) {
        this.detain = detain;
    }

    public void setPay(Integer pay) {
        this.pay = pay;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public void setJiaozu(Date jiaozu) {
        this.jiaozu = jiaozu;
    }

    public void setGatherBefore(Integer gatherBefore) {
        this.gatherBefore = gatherBefore;
    }

    public void setGatherFix(Integer gatherFix) {
        this.gatherFix = gatherFix;
    }

    public Integer getId() {
        return id;
    }

    public String getNumber() {
        return number;
    }

    public Integer getConsumerId() {
        return consumerId;
    }

    public Integer getHouseId() {
        return houseId;
    }

    public String getConsumerName() {
        return consumerName;
    }

    public BigDecimal getTotalprice() {
        return totalprice;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public BigDecimal getCashPledge() {
        return cashPledge;
    }

    public Integer getDetain() {
        return detain;
    }

    public Integer getPay() {
        return pay;
    }

    public Date getEndTime() {
        return endTime;
    }

    public Date getCreated() {
        return created;
    }

    public Date getJiaozu() {
        return jiaozu;
    }

    public Integer getGatherBefore() {
        return gatherBefore;
    }

    public Integer getGatherFix() {
        return gatherFix;
    }
}
